/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 平台扣率实体类
 *
 * @author BladeX
 * @since 2020-10-11
 */
@Data
@TableName("gdiu_order_poundage")
@ApiModel(value = "OrderPoundage对象", description = "平台扣率")
public class OrderPoundage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 扣率表
     */
    @ApiModelProperty(value = "扣率表")
    private Long id;
    /**
     * 代理商id
     */
    @ApiModelProperty(value = "代理商id")
    private String userid;
    /**
     * 优惠券金额=客户从营销活动获取的券表
     */
    @ApiModelProperty(value = "百分比值")
    private BigDecimal poundage;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date ctime;


}
